package tankgame;

import javax.swing.*;
import java.awt.*;

/**
 * @author: lizhiwen
 * @version: 1.0
 */
public class RankingPanel extends JPanel{
    public void paint(Graphics g){
        super.paint(g);
        g.fillRect(0,0,1000,750);
        g.setColor(Color.cyan);
        Font font = new Font("宋体", Font.BOLD, 50);
        g.setFont(font);
        g.drawString("排行榜",410,50);
        g.setColor(Color.yellow);
        Font font1 = new Font("宋体", Font.BOLD, 40);
        g.setFont(font);
        g.drawString("最高分: lzw---∞",0,150);
    }
}
